package com.fanxuankai.boot.upload.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @author fanxuankai
 */
public class FileVO {
    private String type;
    private String name;
    private String mime;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long size;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMime() {
        return mime;
    }

    public void setMime(String mime) {
        this.mime = mime;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "FileVO{" +
                ", type='" + type + '\'' +
                ", name='" + name + '\'' +
                ", mime='" + mime + '\'' +
                ", size=" + size +
                '}';
    }
}
